home *** CD-ROM | disk | FTP | other *** search
-
-
-
- CCCCAAAAPPPP____AAAACCCCQQQQUUUUIIIIRRRREEEE((((3333CCCC)))) CCCCAAAAPPPP____AAAACCCCQQQQUUUUIIIIRRRREEEE((((3333CCCC))))
-
-
-
- NNNNAAAAMMMMEEEE
- cap_acquire, cap_surrender - make permitted set capabilities effective
- or remove effective capabilities
-
- SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
- ####iiiinnnncccclllluuuuddddeeee <<<<ssssyyyyssss////ccccaaaappppaaaabbbbiiiilllliiiittttyyyy....hhhh>>>>
-
- ccccaaaapppp____tttt ccccaaaapppp____aaaaccccqqqquuuuiiiirrrreeee(((( iiiinnnntttt nnnnccccaaaapppp,,,, ccccoooonnnnsssstttt ccccaaaapppp____vvvvaaaalllluuuueeee____tttt ****ccccaaaappppssss))));;;;
- vvvvooooiiiidddd ccccaaaapppp____ssssuuuurrrrrrrreeeennnnddddeeeerrrr(((( ccccaaaapppp____tttt ccccaaaapppp))));;;;
-
- DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
- _c_a_p__a_c_q_u_i_r_e activates the capabilities from the permitted set of the
- process by making each of them active in the effective set for the
- process.
-
- _c_a_p__s_u_r_r_e_n_d_e_r sets the effective set to the capabilities specified in the
- _c_a_p argument, and deallocates this structure.
-
- RRRREEEETTTTUUUURRRRNNNN VVVVAAAALLLLUUUUEEEESSSS
- _c_a_p__a_c_q_u_i_r_e returns the previous effective set, or NULL if there were
- errors. NULL may also be returned if the process has no current
- capability set. This return value has been allocated by the library, and
- should be freed when no longer needed, most commonly by calling
- _c_a_p__s_u_r_r_e_n_d_e_r to revert the effective set to its prior value.
- _c_a_p__f_r_e_e(3c) may also be called directly to deallocate the structure.
-
- _c_a_p__s_u_r_r_e_n_d_e_r has no return value.
-
- EEEERRRRRRRROOOORRRRSSSS
- _c_a_p__a_c_q_u_i_r_e:
-
- EINVAL _c_a_p_s is null.
-
- ENOSYS capabilities are not enabled.
-
- SSSSEEEEEEEE AAAALLLLSSSSOOOO
- cap_free(3c), capabilities(4).
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- PPPPaaaaggggeeee 1111
-
-
-
-